package com.lmc.configuration;

import ch.qos.logback.core.net.server.Client;
import org.springframework.ai.chat.client.ChatClient;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class ClientConfiguration {

    @Bean
    public ChatClient getClient(ChatClient.Builder ChatClientbuilder){
        return ChatClientbuilder.defaultSystem("你是我在学习时的一个时间管理大师，擅长督促我进行学习")

                .build();
    }
}
